package com.jbit.examSystem.pojo;

import java.util.Date;
import java.util.List;

//考试类
public class Exam {
    private Integer id;
    private Date examTime;//考试日期
    private String title;
    private TestPaper testPaper;
    private List<Class> classes;
    private Boolean isJoin;

    @Override
    public String toString() {
        return "Exam{" +
                "id=" + id +
                ", examTime=" + examTime +
                ", title='" + title + '\'' +
                ", testPaper=" + testPaper +
                ", classes=" + classes +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getExamTime() {
        return examTime;
    }

    public void setExamTime(Date examTime) {
        this.examTime = examTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public TestPaper getTestPaper() {
        return testPaper;
    }

    public void setTestPaper(TestPaper testPaper) {
        this.testPaper = testPaper;
    }

    public List<Class> getClasses() {
        return classes;
    }

    public void setClasses(List<Class> classes) {
        this.classes = classes;
    }

    public Boolean getIsJoin() {
        return isJoin;
    }

    public void setIsJoin(Boolean join) {
        isJoin = join;
    }
}
